Lesson: 18 - Events and Sensing

Purpose : Students should learn about the usage of events and sensing.

Materials Required

Scratch software.

Curriculum Content Events (6.8), Sensing (6.11).

Prior knowledge

Students should know about using code (motion, looks, sounds, events and controls).

Exercises

Exercise:1



  1. Insert a monkey and a banana sprite. The Banana is always falling from top to bottom. When the Banana reaches the bottom, it should start falling from the top at another random X location. Move the monkey left and right by using arrow keys. When the monkey touches the bananas, change the costume of the banana by using the touching block.

  2. Exercise video:



  3. Click here to view a model video for your reference.
  4. Exercise:2



  5. Use the exercise-1 to take a duplicate of the Banana sprite and change it into an Apple. Also, add one more drawn fruit sprite to fall.
  6. Exercise video:



  7. Click here to view a model video for your reference.
  8. Solutions



  9. Click here to download the sb3 file for exercise 1.
  10. Click here to download the sb3 file for exercise 2.

Teacher's Instruction
  1. Teachers should show a simple sample Scratch game using events and sensing control before giving the exercise.
  2. Teachers should encourage the Students to use their own creativity to create a Program.
  3. Teachers should help to complete the exercise-1 because this exercise will be developed in further lessons.
  4. Teachers can point out that there are internal events like touching a sprite or touching a colour and external events like key press, input, mouse click etc.